package com.itheima_03;

public class GrilThread extends Thread {
    @Override
    public void run() {
        while (true) {
            //synchronized (Money.obj) {
                if (Money.money != 100000) {
                    System.out.println("结婚基金不是100000");
                    break;
                }
            //}

        }
    }
}
